package  
{
	import org.flixel.FlxG;
	import org.flixel.FlxState;
	import org.flixel.FlxText;
	import org.flixel.plugin.photonstorm.FlxButtonPlus;
	/**
	 * ...
	 * @author Billy Kaifer
	 */
	public class MenuState extends FlxState
	{
		private var playGame:FlxButtonPlus;
		private var instructions1:FlxText;
		private var instructions2:FlxText;
		
		public function MenuState() 
		{
			super();
		}
		
		override public function create():void {
			super.create();
			
			instructions1 = new FlxText(225,100,200,"W/A/S/D to move, Click to fire");
			instructions2 = new FlxText(230,120,200, "1 - Single shot, 2 - Mulishot");
			
			playGame = new FlxButtonPlus(0, 180, startGame, null, "Play Game");
			playGame.screenCenter();
			
			add(instructions1);
			add(instructions2);
			add(playGame);
			
			FlxG.mouse.show();
		}
		
		private function startGame():void {
			FlxG.mouse.hide();
			
			FlxG.switchState(new PlayState());
		}
	}

}